package rrrmai.di.module;

import javax.inject.Inject;
import dagger.Module;
import dagger.Provides;
import xgggh.activity.DIActivity;

/**
 * Created by az on 2018/3/22.
 */
@Module
public class ActivityModule {

    private DIActivity mActivity;
    @Inject
    public ActivityModule(DIActivity mActivity) {
        this.mActivity = mActivity;
    }

    @Provides
    public DIActivity provideActivity() {
        return mActivity;
    }

}
